package client.soap;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.pentalog.training.soap.webservice.HelloWorldWS;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		ApplicationContext appContext = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
		HelloWorldWS helloWorldService = (HelloWorldWS)appContext.getBean("helloWorldClient123");
		System.out.println(helloWorldService.getSayHello("tlehuu"));
		
	}

}